# 构建阶段 
# FROM node:16.20.2-alpine AS builder 
# WORKDIR /app 
# COPY package*.json ./
# RUN npm install --production 
# COPY . .
# RUN npm run build 

# 运行阶段 
FROM nginx:alpine 
COPY --from=builder /out /usr/local/nginx/blog_client 
COPY nginx.conf  /etc/nginx/conf.d/default.conf  
EXPOSE 8888

